<!doctype html>
<html lang="en">

	<head>

		<meta http-equiv="content-type" content="text/html;charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="Author" content="Yvette Lau">
		<meta name="viewport" content="width = device-width, initial-scale =1">
		
		<title>科苑小学微信群</title>
		<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
        <link rel="stylesheet" type="text/css" href="css/style.css"/>
        <link rel="icon" href="img/bitbug_favicon.ico"/>
	</head>

	<body >
		
			
		
		<div class="col-xs-12 col-sm-6 col-md-4 col-lg-3" >
			
			<ul>
				<li class="c1">一年级</li>
				<li class="c2">二年级</li>
				<li class="c3">三年级</li>
				<li class="g1">四年级</li>
				<li class="g2">五年级</li>
				<li class="g3">六年级</li>
			</ul>
		
		<div class="col-xs-12 col-sm-6 col-md-4 col-lg-3" >
			<img src="img/xx1.jpg" class="c1img"/>
			<img src="img/xx2.jpg" class="c2img"/>
			<img src="img/xx3.jpg" class="c3img"/>
			<img src="img/xx4.jpg" class="g1img"/>
			<img src="img/xx5.jpg" class="g2img"/>
			<img src="img/xx6.jpg" class="g3img"/>
		</div>
		<div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">
			<p class="p1" >
				选择年级查看二维码
			</p>
			<p class="p2">长按二维码进群</p>
		</div>
		</div>
		
		
	</body>
	<script src="js/jquery-1.11.3.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/style.js" type="text/javascript" charset="utf-8"></script>
     <script type="text/javascript">
     	$(".c1").click(function(){
        $(".c1img").css("display","block");
        $(".c2img").css("display","none");
        $(".c3img").css("display","none");
        $(".g1img").css("display","none");
        $(".g2img").css("display","none");
        $(".g3img").css("display","none");
        $(".p2").css("display","block");
        $(".p1").css("display","none");
        $(".c1").css("background","gray");
        $(".c2").css("background","");
        $(".c3").css("background","");
        $(".g1").css("background","");
        $(".g2").css("background","");
        $(".g3").css("background","");
        
        });
        $(".c2").click(function(){
        $(".c1img").css("display","none");
        $(".c2img").css("display","block");
        $(".c3img").css("display","none");
        $(".g1img").css("display","none");
        $(".g2img").css("display","none");
        $(".g3img").css("display","none");
        $(".p2").css("display","block");
        $(".p1").css("display","none");
        $(".c1").css("background","");
        $(".c2").css("background","grey");
        $(".c3").css("background","");
        $(".g1").css("background","");
        $(".g2").css("background","");
        $(".g3").css("background","");

        });
        $(".c3").click(function(){
        $(".c1img").css("display","none");
        $(".c2img").css("display","none");
        $(".c3img").css("display","block");
        $(".g1img").css("display","none");
        $(".g2img").css("display","none");
        $(".g3img").css("display","none");
        $(".p2").css("display","block");
        $(".p1").css("display","none");
          $(".c1").css("background","");
        $(".c2").css("background","");
        $(".c3").css("background","grey");
        $(".g1").css("background","");
        $(".g2").css("background","");
        $(".g3").css("background","");

        }); 
        $(".g1").click(function(){
        $(".c1img").css("display","none");
        $(".c2img").css("display","none");
        $(".c3img").css("display","none");
        $(".g1img").css("display","block");
        $(".g2img").css("display","none");
        $(".g3img").css("display","none");
        $(".p2").css("display","block");
        $(".p1").css("display","none");
          $(".c1").css("background","");
        $(".c2").css("background","");
        $(".c3").css("background","");
        $(".g1").css("background","grey");
        $(".g2").css("background","");
        $(".g3").css("background","");

        });
        $(".g2").click(function(){
        $(".c1img").css("display","none");
        $(".c2img").css("display","none");
        $(".c3img").css("display","none");
        $(".g1img").css("display","none");
        $(".g2img").css("display","block");
        $(".g3img").css("display","none");
        $(".p2").css("display","block");
        $(".p1").css("display","none");
          $(".c1").css("background","");
        $(".c2").css("background","");
        $(".c3").css("background","");
        $(".g1").css("background","");
        $(".g2").css("background","grey");
        $(".g3").css("background","");
        

        });
        $(".g3").click(function(){
        $(".c1img").css("display","none");
        $(".c2img").css("display","none");
        $(".c3img").css("display","none");
        $(".g1img").css("display","none");
        $(".g2img").css("display","none");
        $(".g3img").css("display","block");
        $("p2").css("display","block");
        $("p1").css("display","none");
          $(".c1").css("background","");
        $(".c2").css("background","");
        $(".c3").css("background","");
        $(".g1").css("background","");
        $(".g2").css("background","");
        $(".g3").css("background","grey");

        });
     </script>
</html>